package com.sgb.trip.entity;

import java.util.List;

/**
 * Time:2021/10/15
 * Author:黄淋
 * Description:
 */
public class FlightOrderDetailEntity {


    /**
     * flights : [{"airlineLogo":"https://openapi.shpanhe.com/Content/Images/AirLineLogo/EU.png","airlineName":"成都航空","cabinLevel":1,"craftType":"73E","flightNo":"MU2523","flyDuration":"02:10","fromAirport":"成都双流国际机场","fromCity":"成都","fromDateTime":"2021-09-30","fromFlight":true,"fromTerminal":"T2","hasMeals":"有餐食","toAirport":"武汉天河国际机场","toCity":"武汉","toDateTime":"2021-09-30","toTerminal":"T3","weekDay":"星期四"}]
     * linkName : 李大钊
     * linkPhone : 13086596969
     * orderAmount : 1928.89
     * orderDataNo : 1436553007591591936
     * orderNo : 1052021040788903299
     * orderPriceDetails : [{"adultFuel":100,"adultTax":100,"insurancePrices":[{"insuranceAmount":168,"insuranceName":"航空意外险"}],"ticketPrice":1963.13,"toTicket":true}]
     * orderStatus : 1
     * orderTime : 1631334260522
     * passengers : [{"cardNo":430921199701052653,"cardType":1,"linkPhone":13070245683,"passengerName":"李大钊","passengerNo":1436602918664146944,"ticketsStatus":0,"ticketsTypes":1}]
     */

    private String linkName;
    private String linkPhone;
    private double orderAmount;
    private String orderDataNo;
    private String orderNo;
    private int orderStatus;
    private long orderTime;
    private List<FlightsBean> flights;
    private List<OrderPriceDetailsBean> orderPriceDetails;
    private List<PassengersBean> passengers;

    public String getLinkName() {
        return linkName;
    }

    public void setLinkName(String linkName) {
        this.linkName = linkName;
    }



    public double getOrderAmount() {
        return orderAmount;
    }

    public void setOrderAmount(double orderAmount) {
        this.orderAmount = orderAmount;
    }

    public String getLinkPhone() {
        return linkPhone;
    }

    public void setLinkPhone(String linkPhone) {
        this.linkPhone = linkPhone;
    }

    public String getOrderDataNo() {
        return orderDataNo;
    }

    public void setOrderDataNo(String orderDataNo) {
        this.orderDataNo = orderDataNo;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public int getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(int orderStatus) {
        this.orderStatus = orderStatus;
    }

    public long getOrderTime() {
        return orderTime;
    }

    public void setOrderTime(long orderTime) {
        this.orderTime = orderTime;
    }

    public List<FlightsBean> getFlights() {
        return flights;
    }

    public void setFlights(List<FlightsBean> flights) {
        this.flights = flights;
    }

    public List<OrderPriceDetailsBean> getOrderPriceDetails() {
        return orderPriceDetails;
    }

    public void setOrderPriceDetails(List<OrderPriceDetailsBean> orderPriceDetails) {
        this.orderPriceDetails = orderPriceDetails;
    }

    public List<PassengersBean> getPassengers() {
        return passengers;
    }

    public void setPassengers(List<PassengersBean> passengers) {
        this.passengers = passengers;
    }

    public static class FlightsBean {
        /**
         * airlineLogo : https://openapi.shpanhe.com/Content/Images/AirLineLogo/EU.png
         * airlineName : 成都航空
         * cabinLevel : 1
         * craftType : 73E
         * flightNo : MU2523
         * flyDuration : 02:10
         * fromAirport : 成都双流国际机场
         * fromCity : 成都
         * fromDateTime : 2021-09-30
         * fromFlight : true
         * fromTerminal : T2
         * hasMeals : 有餐食
         * toAirport : 武汉天河国际机场
         * toCity : 武汉
         * toDateTime : 2021-09-30
         * toTerminal : T3
         * weekDay : 星期四
         */

        private String airlineLogo;
        private String airlineName;
        private int cabinLevel;
        private String craftType;
        private String flightNo;
        private String flyDuration;
        private String fromAirport;
        private String fromCity;
        private long fromDateTime;
        private boolean fromFlight;
        private String fromTerminal;
        private String hasMeals;
        private String toAirport;
        private String toCity;
        private long toDateTime;
        private String toTerminal;
        private String weekDay;

        public String getAirlineLogo() {
            return airlineLogo;
        }

        public void setAirlineLogo(String airlineLogo) {
            this.airlineLogo = airlineLogo;
        }

        public String getAirlineName() {
            return airlineName;
        }

        public void setAirlineName(String airlineName) {
            this.airlineName = airlineName;
        }

        public int getCabinLevel() {
            return cabinLevel;
        }

        public void setCabinLevel(int cabinLevel) {
            this.cabinLevel = cabinLevel;
        }

        public String getCraftType() {
            return craftType;
        }

        public void setCraftType(String craftType) {
            this.craftType = craftType;
        }

        public String getFlightNo() {
            return flightNo;
        }

        public void setFlightNo(String flightNo) {
            this.flightNo = flightNo;
        }

        public String getFlyDuration() {
            return flyDuration;
        }

        public void setFlyDuration(String flyDuration) {
            this.flyDuration = flyDuration;
        }

        public String getFromAirport() {
            return fromAirport;
        }

        public void setFromAirport(String fromAirport) {
            this.fromAirport = fromAirport;
        }

        public String getFromCity() {
            return fromCity;
        }

        public void setFromCity(String fromCity) {
            this.fromCity = fromCity;
        }


        public boolean isFromFlight() {
            return fromFlight;
        }

        public void setFromFlight(boolean fromFlight) {
            this.fromFlight = fromFlight;
        }

        public String getFromTerminal() {
            return fromTerminal;
        }

        public void setFromTerminal(String fromTerminal) {
            this.fromTerminal = fromTerminal;
        }

        public String getHasMeals() {
            return hasMeals;
        }

        public void setHasMeals(String hasMeals) {
            this.hasMeals = hasMeals;
        }

        public String getToAirport() {
            return toAirport;
        }

        public void setToAirport(String toAirport) {
            this.toAirport = toAirport;
        }

        public String getToCity() {
            return toCity;
        }

        public void setToCity(String toCity) {
            this.toCity = toCity;
        }

        public long getFromDateTime() {
            return fromDateTime;
        }

        public void setFromDateTime(long fromDateTime) {
            this.fromDateTime = fromDateTime;
        }

        public long getToDateTime() {
            return toDateTime;
        }

        public void setToDateTime(long toDateTime) {
            this.toDateTime = toDateTime;
        }

        public String getToTerminal() {
            return toTerminal;
        }

        public void setToTerminal(String toTerminal) {
            this.toTerminal = toTerminal;
        }

        public String getWeekDay() {
            return weekDay;
        }

        public void setWeekDay(String weekDay) {
            this.weekDay = weekDay;
        }
    }

    public static class OrderPriceDetailsBean {
        /**
         * adultFuel : 100
         * adultTax : 100
         * insurancePrices : [{"insuranceAmount":168,"insuranceName":"航空意外险"}]
         * ticketPrice : 1963.13
         * toTicket : true
         */

        private int adultFuel;
        private int adultTax;
        private double ticketPrice;
        private boolean toTicket;
        private List<InsurancePricesBean> insurancePrices;

        public static class InsurancePricesBean {
            /**
             * insuranceAmount : 168
             * insuranceName : 航空意外险
             */

            private int insuranceAmount;
            private String insuranceName;

            public int getInsuranceAmount() {
                return insuranceAmount;
            }

            public void setInsuranceAmount(int insuranceAmount) {
                this.insuranceAmount = insuranceAmount;
            }

            public String getInsuranceName() {
                return insuranceName;
            }

            public void setInsuranceName(String insuranceName) {
                this.insuranceName = insuranceName;
            }
        }

        public int getAdultFuel() {
            return adultFuel;
        }

        public void setAdultFuel(int adultFuel) {
            this.adultFuel = adultFuel;
        }

        public int getAdultTax() {
            return adultTax;
        }

        public void setAdultTax(int adultTax) {
            this.adultTax = adultTax;
        }

        public double getTicketPrice() {
            return ticketPrice;
        }

        public void setTicketPrice(double ticketPrice) {
            this.ticketPrice = ticketPrice;
        }

        public boolean isToTicket() {
            return toTicket;
        }

        public void setToTicket(boolean toTicket) {
            this.toTicket = toTicket;
        }

        public List<InsurancePricesBean> getInsurancePrices() {
            return insurancePrices;
        }

        public void setInsurancePrices(List<InsurancePricesBean> insurancePrices) {
            this.insurancePrices = insurancePrices;
        }
    }

    public static class PassengersBean {
        /**
         * cardNo : 430921199701052653
         * cardType : 1
         * linkPhone : 13070245683
         * passengerName : 李大钊
         * passengerNo : 1436602918664146944
         * ticketsStatus : 0
         * ticketsTypes : 1
         */

        private String cardNo;
        private int cardType;
        private long linkPhone;
        private String passengerName;
        private long passengerNo;
        private int ticketsStatus;
        private int ticketsTypes;

        public String getCardNo() {
            return cardNo;
        }

        public void setCardNo(String cardNo) {
            this.cardNo = cardNo;
        }

        public int getCardType() {
            return cardType;
        }

        public void setCardType(int cardType) {
            this.cardType = cardType;
        }

        public long getLinkPhone() {
            return linkPhone;
        }

        public void setLinkPhone(long linkPhone) {
            this.linkPhone = linkPhone;
        }

        public String getPassengerName() {
            return passengerName;
        }

        public void setPassengerName(String passengerName) {
            this.passengerName = passengerName;
        }

        public long getPassengerNo() {
            return passengerNo;
        }

        public void setPassengerNo(long passengerNo) {
            this.passengerNo = passengerNo;
        }

        public int getTicketsStatus() {
            return ticketsStatus;
        }

        public void setTicketsStatus(int ticketsStatus) {
            this.ticketsStatus = ticketsStatus;
        }

        public int getTicketsTypes() {
            return ticketsTypes;
        }

        public void setTicketsTypes(int ticketsTypes) {
            this.ticketsTypes = ticketsTypes;
        }
    }
}
